package com.bidevalution.dao.mapper;

import com.bidevalution.dao.entity.BeSummary;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * @Description 汇总
 * @Date        2020-03-25 14:54
 * @Author      lhl
 */
public interface BeSummaryMapper {

    int insertSummaryInfo(BeSummary beSummary);

    int updateSummaryInfo(BeSummary beSummary);

    BeSummary getSummaryInfo(BeSummary beSummary);

    List<Map<String,Object>> getSummaryComments(@Param("sectionId") String sectionId,@Param("sectionStepId") String sectionStepId);

    List<Map<String,Object>> getExpertSummaryInfo(@Param("enterpriseId") String enterpriseId,@Param("sectionStepId") String sectionStepId);

    int insertReviewOpinionInfo(@Param("sectionId") String sectionId,@Param("sectionStepId") String sectionStepId);

}
